<?python import datetime, time?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
	  xmlns:xi="http://www.w3.org/2001/XInclude"
	  xmlns:py="http://genshi.edgewall.org/">
  <xi:include href="layout.html" />
  <head>
	<title>Edit Triggers For ${tag.title}</title>
  </head>
  <body class="poll">
  	<div id="center_column_item">
	<h2>Triggers for ${tag.title}</h2>
			<span class="trigger"> 

				<table py:if="tag.triggers" class="triggers">
					<tr py:for="trigger in tag.triggers">
						<td><a href="/trigger_edit/${trigger.id}/"> ${ "%s after %d minutes" % (trigger.description,trigger.timing)}</a></td>
				
					</tr>
				</table>
				<p/>
				<a href="/trigger_add/${tag.id}/">Add Trigger</a>
			</span>
			
	</div>		
		


  </body>
</html>
